<template>
  <!-- <div>个人中心</div> -->
  <div class="persional">
    <div class="persional_top">个人中心</div>
    <div class="persional_header">
      <div class="persional_header_img">
        <img src="../assets/images/headerimg.jpg" alt="头像" />
      </div>
      <div class="persional_header_nickName">人鱼线</div>
    </div>
    <div class="persional_main">
      <div class="persional_main_content">
        <div class="left">我的收藏</div>
        <div class="right">
          <img src="../assets/images/right.png" alt="向右箭头" />
        </div>
      </div>
      <div class="persional_main_content">
        <div class="left">我的评论</div>
        <div class="right">
          <img src="../assets/images/right.png" alt="向右箭头" />
        </div>
      </div>
      <div class="persional_main_content">
        <div class="left">消息通知</div>
        <div class="right">
          <img src="../assets/images/right.png" alt="向右箭头" />
        </div>
      </div>
    </div>
    <div class="persional_footer">退出登录</div>
    <!-- 底部tabBar组件 -->
    <TabBarView />
  </div>
</template>

<style lang="scss" scoped>
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  vertical-align: bottom;
  width: 10px;
}

.persional {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
  color: #061439;

  .persional_top {
    font-size: 36px;
    font-weight: 700;
  }

  .persional_header {
    .persional_header_img {
      margin: 20px 0;

      img {
        width: 80px;
        border-radius: 50%;
        margin: 0 auto;
      }
    }

    .persional_header_nickName {
      font-size: 24px;
      font-weight: 700;
    }
  }

  .persional_main {
    // background: gray;
    width: 100%;
    margin: 30px 0 0 0;

    .persional_main_content {
      width: 90%;
      margin: 25px auto;
      // background: yellow;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 45px;
      border-bottom: 1px dashed #061439;
      // padding: 0 20px;

      .left {
        font-size: 18px;
      }

      .right {
        img {
          width: 27px;
        }
      }
    }
  }

  .persional_footer {
    width: 100px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    background: #061439;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    margin: 20px 0;
  }
}
</style>

<script>
import { Options, Vue } from "vue-class-component";
import TabBarView from "@/components/TabbarView.vue";

@Options({
  components: {
    TabBarView,
  },
})
export default class PersionalView extends Vue {
  name = "PersionalView";
}
</script>
